package com.mirana.frame.db.base.extend.type;

/**
 * Mysql外键约束
 */
public enum FkConstraint {

    CASCADE("CASCADE"),
    NO_ACTION("NO ACTION"),
    RESTRICT("RESTRICT"),
    SET_NULL("SET NULL"),
    ;

    private String name;

    FkConstraint(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
